package org.example.demo123.Bean;

import lombok.Data;

@Data
public class People {
    //基础属性
    private String username;
    private String password;
    private String cellphone;
    private boolean agreement;
    private String sex;
    private String grade;
    //POJO对象
    private Address address;
    //数组
    private String[] hobby;

}

@Data
class Address {
    private String province;
    private String city;
    private String area;
}
